package com.regex.web.entity.kf;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.regex.web.entity.StrIdBaseEntity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.regex.web.common.excel.annotation.ExcelField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 康复机构信息
 * </p>
 *
 * @author zzl
 * @since 2021-06-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cl_kfjg_info")
public class ClKfjgInfoDTO extends StrIdBaseEntity implements Cloneable {

    private static final long serialVersionUID = 1L;

    /**
     * 机构名称
     */
    @TableField("jg_name")
    @ExcelField(title="机构名称",  align=2 , sort=1, dictType="")
    private String jgName;

    /**
     * 服务类型
     */
    @TableField("fwlx")
    @ExcelField(title="服务类型",  align=2 , sort=2, dictType="")
    private String fwlx;

    /**
     * 服务方式
     */
    @TableField("fwfs")
    @ExcelField(title="服务方式",  align=2 , sort=3, dictType="")
    private String fwfs;

    /**
     * 可接纳人数
     */
    @TableField("kjnrs")
    @ExcelField(title="可接纳人数",  align=2 , sort=4, dictType="")
    private String kjnrs;

    /**
     * 当前服务人数
     */
    @TableField("dqfwrs")
    @ExcelField(title="当前服务人数",  align=2 , sort=5, dictType="")
    private String dqfwrs;

    /**
     * 单位地址
     */
    @TableField("address")
    @ExcelField(title="单位地址",  align=2 , sort=6, dictType="")
    private String address;

    /**
     * 开办时间
     */
    @TableField("kbsj")
    @ExcelField(title="开办时间",  align=2 , sort=7, dictType="")
    private String kbsj;

    @TableField("fr")
    @ExcelField(title="法人",  align=2 , sort=7, dictType="")
    private String fr;
    
    @TableField("dh")
    @ExcelField(title="电话",  align=2 , sort=7, dictType="")
    private String dh;

    @Override
    protected Serializable pkVal() {
        return super.pkVal();
    }


private static ClKfjgInfoDTO clKfjgInfoDTO = new ClKfjgInfoDTO();
    
    public static ClKfjgInfoDTO getInstance() {
        try {
            return (ClKfjgInfoDTO) clKfjgInfoDTO.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return new ClKfjgInfoDTO();
    }

}
